package com.pmpd.activity.rpc;

import com.pmpd.activity.bo.background.TagBo;
import com.pmpd.activity.rpc.fallback.ActivityCommonRpcFallback;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * \* User: helei
 * \* Date: 19/06/18
 * \* Description:
 * \
 */
@FeignClient(name = "dmap-common-server", fallback = ActivityCommonRpcFallback.class)
public interface ActivityCommonRpc {

    @RequestMapping(value = "/rpc/background/dmap-common-server/v2/tag/select/selectById", method = RequestMethod.GET)
    TagBo selectTagById(@RequestParam("id") String id);

}